package com.ruoyi.basicdata.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 基础资料对象 manage_village
 * 
 * @author ruoyi
 * @date 2023-04-05
 */
public class Village extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 小区名 */
    @Excel(name = "小区名")
    private String villageName;

    /** 管理员 */
    @Excel(name = "管理员")
    private String admin;

    /** 管理员电话 */
    @Excel(name = "管理员电话")
    private String adminPhone;

    /** 小区地址 */
    @Excel(name = "小区地址")
    private String address;

    /** 状态 */
    @Excel(name = "状态")
    private Long state;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setVillageName(String villageName) 
    {
        this.villageName = villageName;
    }

    public String getVillageName() 
    {
        return villageName;
    }
    public void setAdmin(String admin) 
    {
        this.admin = admin;
    }

    public String getAdmin() 
    {
        return admin;
    }
    public void setAdminPhone(String adminPhone) 
    {
        this.adminPhone = adminPhone;
    }

    public String getAdminPhone() 
    {
        return adminPhone;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("villageName", getVillageName())
            .append("admin", getAdmin())
            .append("adminPhone", getAdminPhone())
            .append("address", getAddress())
            .append("state", getState())
            .toString();
    }
}
